<?php

namespace app\common\validate;


class UserValidate extends BaseValidate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'avatar|头像' => 'require|length:2,200',
        'nickname|昵称' => 'require|length:2,200',
        'mobile|电话' => 'require|isMobile',
        'real_name|真实姓名' => 'require|length:2,200',
        'profession|职业' => 'require|length:2, 200',
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];



    
}
